<?php
/***************************************************/
/* Fichier PHP regroupant des constantes usuelles  */
/***************************************************/

require_once('mysql.php');
require_once('appparam.php');
sql_connect();
$init_parameters = appparam_get($key = '', $type = 'init');
while($param = mysql_fetch_assoc($init_parameters)) {
	if(preg_match('/\{|\}|#/',$param['value']))
		define($param['key'], appparam_read_val($param['value']));
	else
		define($param['key'], $param['value']);
}

define('FLUX_RSS_FORUM', 'resources/xml/forum.xml');
